const Router = require("koa-router")
const router = new Router();
const MembersModel = require("../../models/members")
router.get("/api/last",async ctx=>{
    var data = await MembersModel.find({});
    // console.log(ctx.request.header.host)
    ctx.body ={
        code:200,
        result:data[0],
        msg:"第一条"
    }
})
module.exports = router;